package com.jing.taobao.mapper.user;

import com.jing.taobao.pojo.user.TaobaoUser;


/**
 * 淘宝用户的Mapper
 * @author jing.yue
 * @version 2012/10/12 1.0.0
 */
public interface TbUserMapper {

	/**
	 * 根据用户获取对象
	 * @param username
	 * @return
	 * @throws Exception
	 */
	public abstract TaobaoUser findByUsername(String username) throws Exception;

	/**
	 * 保存信息
	 * @param tbUser
	 * @throws Exception
	 */
	public abstract void saveTaobaoUser(TaobaoUser tbUser) throws Exception;

	/**
	 * 更新信息
	 * @param tbUser
	 * @throws Exception
	 */
	public abstract void updateTaobaoUser(TaobaoUser tbUser) throws Exception;

}